]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
popupMenu: Complete the dummy fake menu
authorJasper St. Pierre <jstpierre@mecheye.net>
Mon, 10 Dec 2012 08:42:53 +0000 (03:42 -0500)
committerJasper St. Pierre <jstpierre@mecheye.net>
Mon, 10 Dec 2012 19:38:06 +0000 (14:38 -0500)
"toggle" is used when clicking on the source actor. As we don't
actually have a menu, we don't want to actually take any grabs
through the menu system, so make it a no-op rather than have it
toggle the menu state.

https://bugzilla.gnome.org/show_bug.cgi?id=689954

js/ui/popupMenu.js

index 155a8546f3072aa09894cc6aa59950220ad877eb..85acb70b2ddb9f46eeda8fca652abdfc4e9b8ff5 100644 (file)
@@ -1289,6 +1289,7 @@ const PopupDummyMenu = new Lang.Class({
 
     open: function() { this.emit('open-state-changed', true); },
     close: function() { this.emit('open-state-changed', false); },
+    toggle: function() {},
     destroy: function() {
         this.emit('destroy');
     },